<template>
	<view class="content">
		<image class="logo" src="/static/logo.png"></image>
		<view class="text-area">
			<text class="title">{{title}}</text>
		</view>
	</view>
</template>

<script>
	import api from '@/api/index.js'
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {
			this.getUserList()
		},
		methods: {
			async getUserList() {
				const result = await api.getUser()
				console.log(result);
			}
		}
	}
</script>

<style lang="scss">
	.content{
		background-color: red;
	}
</style>
